home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
operation-graduates.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-10-17
|
410b
|
17 lines
stop();
loadMovieNum(controlSWF,1000);
this.createEmptyMovieClip("loadbar",1);
loadbar.onEnterFrame = function()
{
total = _root.getBytesTotal();
loads = _root.getBytesLoaded();
percent = int(loads / (total / 100));
progbar.myMask._width = percent;
if(total == loads && loads > 1)
{
this.removeMovieClip();
this.onEnterFrame = null;
gotoAndStop(40);
}
};